package com.ruige.account.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.ruige.account.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author huangrui
 * @since 2020-05-25
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {


    List<User> findAll();

    List<Map<String, String>> findMap();

    User findByUsername(String username);
}
